.redButton {
  display: inline-block;
  width: 0.8rem;
  height: 0.2rem;
  line-height: 0.2rem;
  border-radius: 0.1rem;
  text-align: center;
  background-image: linear-gradient(180deg, #ff6040 0%, #ff8a80 100%);
  color: #fff;
}
.yellowButton {
  display: inline-block;
  width: 0.8rem;
  height: 0.2rem;
  line-height: 0.2rem;
  border-radius: 0.1rem;
  text-align: center;
  background-color: #fff5d0;
  color: #f86757;
}

body {
  background-color: #f2f2f2;
  padding-bottom: 0.9rem;
}
// 顶部搜索
.top-search {
  width: 100%;
  // min-width: 320px;
  // max-width: 750px;
  // background-image: linear-gradient(180deg, #ff6040 0%, #ff8a80 100%);
  background-color: #ff6040 !important;
  overflow: hidden;
  box-shadow: 0 2px 6px 0 rgba(255, 149, 128, 0.5);
}
.w {
  width: 3.55rem;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0 auto;
}
.top {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-evenly;
  -webkit-align-items: center;
  align-items: center;
  width: 100%;
  height: 0.7 rem;
}
.top img {
  width: 0.91rem;
  height: 0.24rem;
}
.top .iconfont {
  color: #fff;
  font-size: 0.22rem;
}
.top .icon-magnifier {
  position: absolute;
  top: 0.16rem;
  left: 6px;
  margin-top: -0.08rem;
  font-size: 0.16rem;
  color: #999999;
}
.top .icon-shangdian {
  font-size: 0.2rem;
}
.top .search {
  position: relative;
  width: 1.7rem;
  height: 0.32rem;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
}
.top input {
  width: 1.7rem;
  height: 0.32rem;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 3px;
  padding-left: 0.24rem;
}
.top input::-webkit-input-placeholder {
  color: #999999;
  font-size: 14px;
}
.top input::placeholder {
  color: #999999;
  font-size: 14px;
}

// nav导航
.nav {
  position: relative;
  width: 100%;
  min-width: 320px;
  max-width: 750px;
  height: 0.3rem;
  padding-right: 0.6rem;
  padding-left: 0.1rem;
}
.nav ul {
  width: 100%;
  height: 0.3rem;
  display: flex;
  justify-content: space-between;
  // border: 1px solid #000;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
}
.nav ul li {
  height: 0.3rem;
  line-height: 0.3rem;
  display: flex;
  padding-right: 0.1rem;
  // border: 1px solid #000;
}
.nav a {
  color: #000;
  font-size: 14px;
  text-decoration: none;
  color: #fff3f2;
  font-size: 0.14rem;
  // border: 1px solid #000;
}
.nav .recommend {
  font-size: 0.16rem;
  color: #fff;
  border-bottom: 2px solid #fff;
}

.nav ul li:last-child {
  position: absolute;
  right: 0px;
  margin: 0;
  background-image: linear-gradient(180deg, #ff7a68 0%, #ff8a80 100%);
  box-shadow: -5px 5px 10px -5px #e63d2e;
  padding-left: 0.1rem;
}
// 新人专享
.newPeople {
  width: 100vw;
  height: 3.8rem;
  // background-image: linear-gradient(#ff7058, #ffddd6);
  // padding-top: 0.1rem;
  // border-radius: 0 0 23% 23%;
  .top {
    width: 100vw;
    height: 0.4rem;
    line-height: 0.4rem;
    padding:0rem .2rem;
    .l {
      width: 3.55rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      .lInner {
        display: flex;
        align-items: center;
        .time {
          display: block;
          width: 0.2rem;
          height: 0.3rem;
          line-height: 0.3rem;
          text-align: center;
          background-color: #fff5d0;
        }
        .dot {
          color: #fff;
          margin: 0.03rem;
        }
        h1 {
          color: #fff5d0;
          font-weight: normal;
        }
      }
      .rInner {
        a {
          display: block;
          width: 0.6rem;
          height: 0.3rem;
          line-height: 0.3rem;
          border-radius: 0.1rem;
          background-color: #fff5d0;
          color: #a07038;
          text-align: center;
          text-decoration: none;
        }
      }
    }
  }
  .main {
    width: 3.55rem;
    height: 1.85rem;
    margin: 0 auto;
    border-radius: 0.1rem;
    background-color: #fff;
    padding: 0.1rem;
    overflow: hidden;
    .oneGift {
      width: 100%;
      height: 0.3rem;
      .wz {
        margin-left: 0.1rem;
        color: #ff7561;
      }
    }
    .goods {
      ul {
        display: flex;
        overflow-y: hidden;
        overflow-x: auto;
        li {
          height: 1.4rem;
          border-radius: 0.05rem;
          background-color: #ff694d;
          padding: 0.05rem 0.05rem;
          margin-right: 0.085rem;
          border-radius:.1rem;
          .imgPic {
            width: .75rem;
            height: 0.9rem;
            margin: 0 auto;
            border-radius: 0.05rem;
            img {
              width: 100%;
              height: 100%;
              border-radius: 0.05rem;
            }
          }
          .box {
            display: flex;
            justify-content: space-between;
            align-items: center;
            .bl {
              .p1 {
                color: #fff;
                font-size: 0.18rem;
                margin: 0;
              }
              .p2 {
                text-decoration: line-through;
                color: #ff9f97;
              }
            }
            .shopCart {
              width: 0.3rem;
              height: 0.3rem;
              line-height: 0.3rem;
              text-align: center;
              border-radius: 50%;
              background-color: #fff;
              i {
                color: red;
              }
            }
          }
        }
        li:last-child{
          margin: 0;
        }
      }
    }
  }
  .doubleGift {
    width: 3.55rem;
    height: 1.2rem;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 0.1rem;
    background-color: #fff;
    padding: 0.1rem;
    margin-top: 0.2rem;
    .oneGift {
      width: 100%;
      height: 0.3rem;
      .wz {
        margin-left: 0.1rem;
        color: #ff7561;
      }
    }
    .quan {
      display: flex;
      .pic1 {
        width: 1.1rem;
        height: 0.7rem;
        img {
          width: 100%;
          height: 100%;
        }
      }
      .pic2 {
        width: 2.1rem;
        height: 0.7rem;
        margin-left: 0.1rem;
        img {
          width: 100%;
          height: 100%;
        }
      }
    }
  }
}

// 超级秒杀
.seckill {
  width: 3.55rem;
  height: 2.5rem;
  margin: 0 auto;
  border-radius: 0.1rem;
  background-color: #ff6141;
  padding: 0.1rem;
  overflow: hidden;
  .top {
    width: 100vw;
    height: 0.4rem;
    line-height: 0.4rem;
    .l {
      width: 3.55rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      .lInner {
        display: flex;
        align-items: center;
        .time {
          display: block;
          width: 0.2rem;
          height: 0.3rem;
          line-height: 0.3rem;
          text-align: center;
          background-color: #fff5d0;
        }
        .dot {
          color: #fff;
          margin: 0.03rem;
        }
        h1 {
          color: #fff5d0;
          font-weight: normal;
        }
      }
    }
  }
  .box {
    display: flex;
    overflow-y: hidden;
    overflow-x: auto;
    .main {
      width: 3.55rem;
      height: 1.85rem;
      border-radius: 0.1rem;
      display: flex;
      background-color: #fff;
      padding: 0.1rem;
      margin-right: 0.15rem;
      .l {
        width: 1.5rem;
        height: 1.5rem;
        img {
          width: 100%;
          height: 100%;
          border-radius: 0.1rem;
        }
      }
      .r {
        margin-left: 0.1rem;
        .p {
          font-size: 0.18rem;
          margin: .05rem 0rem;
        }
        .bar {
          width: 1.3rem;
          height: 0.2rem;
          line-height: 0.2rem;
          border-radius: 0.1rem;
          background-color: #ffbdac;
          text-align: right;
          display: flex;
          justify-content: space-between;
          margin-bottom: 0.05rem;
          .tiao {
            width: 0.45rem;
            height: 0.2rem;
            border-radius: 0.1rem;
            background-color: #ff6243;
          }
        }
        .qiang {
          position: relative;
          width: 1.6rem;
          height: 0.4rem;
          img {
            width: 1.6rem;
            height: 0.4rem;
          }
          .sp1 {
            position: absolute;
            top: 0.06rem;
            left: 0.1rem;
            font-size: 0.18rem;
            color: #fe3a21;
          }
          .sp2 {
            position: absolute;
            top: 0.1rem;
            left: 0.7rem;
            font-size: 0.12rem;
            color: #fe3a21;
            text-decoration: line-through;
          }
        }
      }
    }
    .main:last-child{
      margin: 0;
    }
  }
}

// 限时秒杀
.xianshi {
  width: 3.55rem;
  height: 1.85rem;
  overflow: hidden;
  margin: 0.2rem auto;
  border-radius: 0.1rem;
  background-color: #ff6142;
  padding: 0.1rem;
  .oneGift {
    width: 100%;
    height: 0.3rem;
    .wz {
      margin-left: 0.1rem;
      color: #fff5d0;
    }
  }
  .goods {
    ul {
      display: flex;
      overflow-y: hidden;
      overflow-x: auto;
      li {
        height: 1.4rem;
        border-radius: 0.05rem;
        background-color: #fff;
        padding: 0.05rem 0.05rem;
        margin-right: 0.085rem;
        border-radius: .1rem;
        .imgPic {
          width: .75rem;
          height: 0.9rem;
          margin: 0 auto;
          border-radius: 0.05rem;
          img {
            width: 100%;
            height: 100%;
            border-radius: 0.05rem;
          }
        }
        .box {
          display: flex;
          justify-content: space-between;
          align-items: center;
          .bl {
            .p1 {
              color: red;
              font-size: 0.18rem;
            }
            .p2 {
              text-decoration: line-through;
              color: #ff9f97;
            }
          }
          .shopCart {
            width: 0.3rem;
            height: 0.3rem;
            line-height: 0.3rem;
            text-align: center;
            border-radius: 50%;
            background-color: red;
            i {
              color: #fff;
            }
          }
        }
      }
      
      li:last-child{
        margin: 0;
      }
    }
  }
}

// 热销好货
.hotGoods {
  width: 100vw;
  height: 0.6rem;

  background-color: #fff;
  margin: 0.1rem 0;
  display: flex;
  align-items: center;
  ul {
    width: 100vw;
    display: flex;
    li {
      flex: 1;
      text-align: center;
      p {
        font-size: 0.18rem;
      }
      .p1 {
        color: red;
        font-size: 0.18rem;
      }
      div {
        font-size: 0.12rem;
        color: #ababab;
      }
      .redButton {
        color: #fff;
      }
    }
  }
}

// 热销好货列表
.hotGoodsList {
  width: 3.55rem;
  margin: 0 auto;
  background-color: #f2f2f2;

  .row {
    background-color: #fff;
    display: flex;
    padding: 0.1rem;
    margin: 0.1rem 0;
    .l {
      img {
        width: 1.5rem;
        height: 1.5rem;
        border-radius: 0.1rem;
      }
    }
    .r {
      margin-left: 0.1rem;
      .p {
        font-size: 0.18rem;
      }
      .prop {
        position: relative;
        width: 1.4rem;
        height: 0.25rem;
        img {
          width: 100%;
          height: 100%;
        }
        .wz1 {
          position: absolute;
          top: -0.01rem;
          left: 0.1rem;
          color: #fff;
          font-size: 0.12rem;
        }
        .wz2 {
          position: absolute;
          top: -0.01rem;
          right: 0.03rem;
          font-size: 0.12rem;
          color: #009d4f;
        }
      }
      .box {
        display: flex;
        justify-content: space-between;
        align-items: center;
        .lInner {
          .p1 {
            font-size: 0.18rem;
            color: red;
          }
          .p2 {
            font-size: 0.12rem;
            text-decoration: line-through;
            color: #b7b7b7;
          }
        }
      }
    }
  }
}

// 轮播图

.w2 {
  padding-top: 0.1rem;
  width: 100%;
  height: 1.95rem;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background-color: #fff;
  .banner {
    position: relative;
    width: 3.35rem;
    height: 1.95rem;
    margin: 0 auto;

    .pic {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;

      a {
        width: 100%;
        height: 100%;
        display: block;

        img {
          width: 100%;
          height: 100%;
        }
      }
    }

    .circle {
      position: absolute;
      // top:0;
      bottom: 0.1rem;
      left: 50%;
      margin-left: -0.3rem;
      width: 0.6rem;
      height: 0.06rem;

      .s1 {
        position: absolute;
        top: 0;
        left: 0;
        width: 0.12rem;
        height: 0.06rem;
        border-radius: 0.06rem;
        background-color: #fff;
      }

      .c {
        position: absolute;

        width: 0.06rem;
        height: 0.06rem;
        border-radius: 50%;
        background-color: #f6ccd2;
      }
      .c1 {
        top: 0;
        left: 0.15rem;
      }
      .c2 {
        top: 0;
        left: 0.25rem;
      }
      .c3 {
        top: 0;
        left: 0.35rem;
      }
      .c4 {
        top: 0;
        left: 0.45rem;
      }
      .c5 {
        top: 0;
        left: 0.55rem;
      }
    }
  }
}

// 列表

.banner2 {
  padding: 0.2rem 0;
  width: 100%;
  ul {
    width: 3.35rem;
    height: 0.5rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    li {
      // width: .48rem;
      height: 0.47rem;
    }
    a {
      display: flex;
      flex-direction: column;
      font-size: 0.12rem;
      height: 0.47rem;
      color: #000;
      text-decoration: none;
      align-items: center;
      img {
        width: 0.32rem;
        height: 0.32rem;
      }
      span {
        display: block;
        // width: .48rem;
        font-size: 0.12rem;
        color: #333333;
      }
    }
  }
}

// banner3
.banner3 {
  width: 100%;
  // min-width: 320px;
  // max-width:750px;
  margin: 0 auto;
  .w2;
  background-color: #f2f2f2;
  padding-top: 0.1rem;
  .inner {
    display: flex;
    justify-content: space-between;
    width: 3.55rem;
    margin: 0 auto;
    .kill-left {
      width: 1.75rem;
      height: 1.75rem;
      background: url(../images/pic/plate/index/kingkong/big.png);
      // background-origin:border-box;
      // background-position: left top;
      background-size: 100%;
      padding: 0.05rem 0.1rem 0rem 0.1rem;
      .wz {
        display: flex;
        justify-content: space-between;
        align-items: center;
        span {
          font-size: 0.16rem;
          color: #85a642;
        }
        .wz-in {
          text-decoration: none;
          display: flex;
          .wz-inner {
            font-size: 0.1px;
            color: #000;
            display: inline-block;
            transform: scale(0.9);
            color: #333333;
          }
        }
      }
      .wz2 {
        transform-origin: left center;
        transform: scale(0.8);
        color: #b1cc7a;
        font-size: 0.12rem;
        margin-top: 0.06rem;
      }
      .wz3 {
        transform-origin: left center;
        font-size: 0rem;
        transform: scale(0.8);
        .mao {
          color: transparent;
          -webkit-background-clip: text;
          font-size: 0.14rem;
        }
        span {
          width: 0.15rem;
          height: 0.18rem;
          background-image: linear-gradient(180deg, #85a642 0%, #b1cc7a 100%);
          color: #fff;
          padding: 0 0.02rem;
          font-size: 0.14rem;
        }
      }
    }

    .brand-new {
      width: 1.75rem;
      height: 1.75rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      .first {
        width: 1.75rem;
        height: 0.85rem;
        background: url(../images/pic/plate/index/kingkong/small.png) no-repeat;
        background-size: 100%;
        padding: 0.05rem 0.1rem 0rem 0.1rem;
        p {
          font-size: 0.16rem;
          color: #ff6040;
        }
        .p2 {
          font-size: 0.1rem;
          color: #ff9580;
          transform-origin: left;
          transform: scale(0.9);
          margin-top: 0.06rem;
        }
        div {
          display: flex;
          align-items: center;
          width: 0.6rem;
          height: 0.2rem;
          color: #fff;
          background-image: linear-gradient(180deg, #ff6040 0%, #ff9f80 100%);
          border-radius: 2px 12px 12px 2px;
          span {
            font-size: 0.1rem;
            transform: scale(0.8);
          }
          i {
            width: 0.06rem;
            transform: scale(0.7);
            margin-left: -0.05rem;
            margin-top: 0.02rem;
          }
        }
      }

      .second {
        width: 1.75rem;
        height: 0.85rem;
        background: url(../images/pic/plate/index/kingkong/small/02.png)
          no-repeat;
        background-size: 100%;
        padding: 0.05rem 0.1rem 0rem 0.1rem;
        p {
          font-size: 0.16rem;
          color: #af40ff;
        }
        .p2 {
          font-size: 0.1rem;
          color: #ca80ff;
          transform-origin: left;
          transform: scale(0.9);
          margin-top: 0.06rem;
        }
        div {
          display: flex;
          align-items: center;
          width: 0.6rem;
          height: 0.2rem;
          color: #fff;
          background-image: linear-gradient(180deg, #af40ff 0%, #f58cff 100%);
          border-radius: 2px 12px 12px 2px;
          span {
            font-size: 0.1rem;
            transform: scale(0.8);
          }
          i {
            width: 0.06rem;
            transform: scale(0.7);
            margin-left: -0.05rem;
            margin-top: 0.02rem;
          }
        }
      }
    }
  }
}

//banner4
.banner4 {
  width: 100%;
  background-color: #f2f2f2;
  .inner {
    width: 3.55rem;
    margin: 0 auto;
    display: flex;
    // box-shadow:0px 0px 2px 0px #ccc;
    justify-content: space-between;
    background-color: #fff;
    padding-bottom: 0.2rem;
    .pre-buy {
      width: 1.75rem;
      .top {
        width: 1.75rem;
        height: 0.36rem;
        color: #ff6040;
        font-size: 0.16rem;
      }
      .goods1 {
        width: 1.75rem;
        display: flex;
        justify-content: space-between;
        padding-left: 0.1rem;
        img {
          width: 95%;
          height: 0.9rem;
        }
      }
    }

    .globle {
      width: 1.75rem;
      .top {
        width: 1.75rem;
        height: 0.36rem;
        color: #999999;
        font-size: 0.16rem;
      }
      .goods1 {
        width: 1.75rem;
        display: flex;
        padding-right: 0.1rem;
        justify-content: space-between;
        img {
          width: 0.8rem;
          height: 0.9rem;
        }
      }
    }
  }
}

// 固定导航栏
.nav-fix {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 0.83rem;
  background: #ffffff;
  box-shadow: 0 -5px 10px 0 rgba(204, 204, 204, 0.2), 0 0 0 0 #cccccc;
  .inner {
    width: 3.55rem;
    margin: 0 auto;
    height: 0.83rem;
    display: flex;
    background: url(../images/Bars/HomeIndicator/iPhone/LightPortrait3x.png)
      no-repeat;
    background-size: 1.34rem 0.34rem;
    background-position: center bottom;
    padding-top: 0.1rem;
    .top {
      width: 3.55rem;
      height: 0.39rem;
      display: flex;
      a {
        width: 100%;
        height: 100%;
        color: #999999;
        text-decoration: none;
        display: flex;
        flex-direction: column;
        align-items: center;

        img {
          width: 0.18rem;
          height: 0.2rem;
        }
        span {
          font-size: 0.1rem;
          transform: scale(0.8);
        }
      }
    }
  }
}
